package com.mq.feign;

import com.common.entity.Kill;
import com.common.entity.Rsp;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class KillFeignFallBack implements KillFeign{

    @Override
    public Rsp addMany(List<Kill> kills) {
        return Rsp.fail().msg("网络错误");
    }

    @Override
    public Rsp findByGoodsId(String goodsId) {
        return Rsp.fail().msg("网络错误");
    }
}
